package cn.e4j.modular.system.service.impl;

import cn.e4j.modular.system.mapper.SysOperationLogMapper;
import cn.e4j.modular.system.entity.SysOperationLog;
import cn.e4j.modular.system.service.SysOperationLogService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 操作日志 服务实现类
 * </p>
 *
 * @author wenchuan.li
 * @since 2018/12/22
 */
@Service
public class SysOperationLogServiceImpl extends ServiceImpl<SysOperationLogMapper, SysOperationLog> implements SysOperationLogService {

    @Override
    public List<Map<String, Object>> getOperationLogs(Page<SysOperationLog> page, String beginTime, String endTime, String logName, String s, String orderByField, boolean asc) {
        return this.baseMapper.getOperationLogs(page, beginTime, endTime, logName, s, orderByField, asc);
    }
}
